// const Panorama = () => import('../../pages/panorama/pic/Panorama');
// const Home = () => import('../../pages/home/Home');
import Home from '../../pages/home/Home';//
import Location from '../../pages/location/Location';
import OutCode from '../../pages/outCode/OutCode';
const CardDetail = () => import('../../pages/cardPackage/CardDetail');
/*
* userAuth：是否是需要用户验证（this.$store.state.currentUser）
* thirdAuth：是否是需要的三分登录验证
* keepAlive:是否是需要页面缓存
* */
export const routes_items = [
    /*home*/
    {
        path:"/home",
        component:Home,
        meta: {
            title: '好看好玩',
            userAuth:false,
            thirdAuth:true,
        },
    },
    {
        path:"/card/detail",
        component:CardDetail,
        meta: {
            title: '劵详情',
            userAuth:true,
            thirdAuth:false,
        },
    },
    {
        path:"/location",
        component:Location,
        meta: {
            title: '位置信息',
            userAuth:false,
            thirdAuth:false,
        },
    },
    {
        path:"/out/code/:outCodeItemId",
        component:OutCode,
        meta: {
            title: '商品二维码预览',
            userAuth:false,
            thirdAuth:false,
        },
    },
    // /*好玩*/
    // {
    //     path:"/promotion/:promotionId/detail",
    //     component:ForCover,
    //     meta: {
    //         title: '好玩页面',
    //         userAuth:true,
    //         thirdAuth:false,
    //     },
    // },
    // /*好看*/
    // {
    //     path:"/media/:mediaId/detail",
    //     component:Look,
    //     title:'好看页面'
    // },
    // /*全景图*/
    // {
    //     path: '/panorama',/*后面加?全景图只有图片地址*/
    //     component:Panorama,
    //     meta: {title: '全景图页面',}
    // },
    // /*成长红包*/
    // {
    //     path: '/welfare/grow/packet/:receiverId/detail',
    //     component(resolve) {
    //         require(['../../pages/red/GrowPage'], resolve)
    //     },
    //     meta: {title: '成长红包',}
    // },
    // /*助力红包*/
    // {
    //     path: '/welfare/help/packet/:receiverId/detail',
    //     component(resolve) {
    //         require(['../../pages/red/HelpPage'], resolve)
    //     },
    //     meta: {title: '助力红包',}
    // },
    // /*普通红包*/
    // {
    //     path: '/welfare/direct/:welPacketId/detail',
    //     component(resolve) {
    //         require(['../../pages/red/UsualPage'], resolve)
    //     },
    //     meta: {title: '普通红包',}
    // },
]